package com.surveillance.entities;

import javax.persistence.Entity;

@Entity
public class Resident extends Surveillant {

	public Resident(){
		
	}
	public Resident(Surveillant surveillant) {
		nom = surveillant.getNom();
		prenom = surveillant.getPrenom();
		mail = surveillant.getMail();
		tel = surveillant.getTel();
		service = surveillant.getService();
	}

}
